//
//  SearchItemView.h
//  YunDong8
//
//  Created by Mac on 14-8-18.
//  Copyright (c) 2014年 Mac. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol SearchItemViewDelegate;

@interface SearchItemView : UIView<UITextFieldDelegate>
{
    int flag;//1.搜索教练  2:球友
}
@property int flag;//1.搜索教练  2:球友
@property (weak, nonatomic) IBOutlet UITextField *searchTextField;
@property (nonatomic, strong) NSArray *itemArr;
@property (nonatomic, strong) NSMutableArray *chooseArr;
@property (nonatomic, strong) NSMutableArray *buttonArr;
@property (nonatomic, weak) id <SearchItemViewDelegate> delegate;
@end

@protocol SearchItemViewDelegate <NSObject>

- (void)searchItemDidSelect:(NSArray *)items AndSearchText:(NSString *)text;

@end
